<?php

/*******************************************************************************
 * 
 * charset.lib.php
 * 
 *******************************************************************************
 * 
 * php version 5.2 mini -- 5.3 recommended 
 * 
 *******************************************************************************
 * 
 * @author Stanislas PERRIN <stanislas.perrin@gmail.com>
 * @licence LGPL v. 3.0
 * 
 *******************************************************************************
 * 
 * Dependancies :
 * 
 * -> debug.class.php
 * 
 ******************************************************************************/

# namespace conf
# namespace phutile\libs\locales; // uncomment only if php version >= 5.3

################################################################################
#
# ERROR CODES
#
################################################################################

// no error
$_ERROR_CODES[0] = "no error";

// lib errors
$_ERROR_CODES[10] = "";
$_ERROR_CODES[11] = "impossible to load/include a needed file";

// reserved
$_ERROR_CODES[20] = "";
$_ERROR_CODES[30] = "";
$_ERROR_CODES[40] = "";
$_ERROR_CODES[50] = "";
$_ERROR_CODES[60] = "";
$_ERROR_CODES[70] = "";
$_ERROR_CODES[80] = "";
$_ERROR_CODES[90] = "";

// charset.lib.php
$_ERROR_CODES[100] = "";
$_ERROR_CODES[101] = "unset or invalid string to convert";

// currency.lib.php
$_ERROR_CODES[200] = "";

// units.lib.php
$_ERROR_CODES['units.lib'][0] = '';
$_ERROR_CODES['units.lib'][1] = 'false/bad unit or type in function argument';


?>
